<template>
  <el-container class="admin-box">
    <el-aside width="200px">
      <div class="logo"></div>
      <!-- 菜单 -->
      <el-menu default-active="1" router>
        <el-menu-item index="1">
          <i class="el-icon-menu"></i>
          <span slot="title">汇总信息</span>
        </el-menu-item>
        <el-submenu index="2">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span>后台管理</span>
          </template>
          <el-menu-item index="2-1">用户列表</el-menu-item>
          <el-menu-item index="2-2">角色列表</el-menu-item>
          <el-menu-item index="2-2">节点列表</el-menu-item>
        </el-submenu>
        <el-submenu index="3">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span>影院管理</span>
          </template>
          <el-menu-item index="3-1">影院列表</el-menu-item>
          <el-menu-item index="3-2">新增影院</el-menu-item>
        </el-submenu>
        <el-submenu index="4">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span>影片管理</span>
          </template>
          <el-menu-item index="4-1">影片列表</el-menu-item>
          <el-menu-item index="4-2">新增影片</el-menu-item>
        </el-submenu>
        <el-submenu index="5">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span>订阅管理</span>
          </template>
          <el-menu-item index="5-1">有效订单</el-menu-item>
          <el-menu-item index="5-2">无效订单</el-menu-item>
        </el-submenu>
      </el-menu>
    </el-aside>
    <el-container>
      <el-header>Header</el-header>
      <el-main>Main</el-main>
    </el-container>
  </el-container>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
.admin-box {
  min-height: 100%;
}
.el-header {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  .logo {
    width: 95%;
    height: 60px;
    border-radius: 5px;
    margin: 0 auto;
    background: #b3c0d1;
  }
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
}
</style>
